<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'field-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'fie_type'); ?>
	<?php echo CHtml::activeDropDownList( $model,'fie_type',$model->enumItem($model, 'fie_type') ); ?>
		<?php echo $form->error($model,'fie_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fie_validate'); ?>
			<?php echo CHtml::activeDropDownList( $model,'fie_validate',$model->enumItem($model, 'fie_validate') ); ?>
		<?php echo $form->error($model,'fie_validate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fie_required'); ?>
		<?php echo $form->checkBox($model,'fie_required'); ?>
		<?php echo $form->error($model,'fie_required'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fie_name'); ?>
		<?php echo $form->textField($model,'fie_name',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'fie_name'); ?>
	</div>

	<div class="row">		
		<?php echo $form->hiddenField($model,'con_code'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->